execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=2..6}] as @a[tag=SeGa_StandLastA] at @s unless block ~ ~-1 ~ air unless block ~ ~-1 ~ lava unless block ~ ~ ~ lava run spawnpoint @s ~ ~ ~
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=1}] run bossbar add minecraft:8432199 "Stage 3"
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=1}] run bossbar set minecraft:8432199 color white
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=1}] run bossbar set minecraft:8432199 players @a[tag=SeGa_StandLastA]
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=1}] run bossbar set minecraft:8432199 max 251
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=1..251}] store result bossbar minecraft:8432199 value run scoreboard players get @e[tag=sc,limit=1] SeGa_StandLast
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run bossbar remove minecraft:8432199
#
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=1}] run summon zombie -79929 40 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:5.0},{Name:generic.attack_damage,Base:2.0}],Health:5.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{Count:1,id:"leather_boots",tag:{display:{Name:"{\"text\":\"皮革靴\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_leggings",tag:{display:{Name:"{\"text\":\"皮革裤\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_chestplate",tag:{display:{Name:"{\"text\":\"皮革甲\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=1}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=3,SeGa_NumPartic=3..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=4}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=5,SeGa_NumPartic=2..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=7}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=9,SeGa_NumPartic=2..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=10}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=11,SeGa_NumPartic=3..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=13}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=14,SeGa_NumPartic=4..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=15,SeGa_NumPartic=4..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=16}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=18,SeGa_NumPartic=3..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=19}] run summon pillager -79931 42 40 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_pillager_tier1",Attributes:[{Name:generic.max_health,Base:3.0},{Name:generic.attack_damage,Base:0.5}],Health:2.0f,CustomName:"\"弩手\"",CanPickUpLoot:0,HandItems:[{Count:1,id:crossbow,tag:{Enchantments:[{id:quick_charge,lvl:1},{id:piercing,lvl:1}]}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=19}] run summon pillager -79931 42 40 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_pillager_tier1",Attributes:[{Name:generic.max_health,Base:3.0},{Name:generic.attack_damage,Base:0.5}],Health:2.0f,CustomName:"\"弩手\"",CanPickUpLoot:0,HandItems:[{Count:1,id:crossbow,tag:{Enchantments:[{id:quick_charge,lvl:1},{id:piercing,lvl:1}]}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=25}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier2_shield",Attributes:[{Name:generic.max_health,Base:10.0},{Name:generic.attack_damage,Base:1.5}],Health:10.0f,CustomName:"\"盾兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"shield",tag:{display:{Name:"{\"text\":\"盾\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=28}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:5.0},{Name:generic.attack_damage,Base:1.5},{Name:generic.movement_speed,Base:0.19}],Health:5.0f,CustomName:"\"僵尸民兵\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"wooden_sword",tag:{display:{Name:"{\"text\":\"木剑\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.06f],ArmorItems:[{},{},{Count:1,id:"chainmail_chestplate",tag:{display:{Name:"{\"text\":\"链甲\",\"italic\":false,\"color\":\"white\"}"}}},{}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=32}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier2_shield",Attributes:[{Name:generic.max_health,Base:10.0},{Name:generic.attack_damage,Base:1.5}],Health:10.0f,CustomName:"\"盾兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"shield",tag:{display:{Name:"{\"text\":\"盾\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=38}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:5.0},{Name:generic.attack_damage,Base:1.5},{Name:generic.movement_speed,Base:0.19}],Health:5.0f,CustomName:"\"僵尸民兵\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"wooden_sword",tag:{display:{Name:"{\"text\":\"木剑\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.06f],ArmorItems:[{},{},{Count:1,id:"chainmail_chestplate",tag:{display:{Name:"{\"text\":\"链甲\",\"italic\":false,\"color\":\"white\"}"}}},{}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=39}] run summon silverfish -79931 42.8 38 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_silverfish_tier1",Attributes:[{Name:generic.max_health,Base:3.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.15}],Health:3.5f,CustomName:"\"惰虫\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=43,SeGa_NumPartic=3..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:5.0},{Name:generic.attack_damage,Base:1.5},{Name:generic.movement_speed,Base:0.19}],Health:5.0f,CustomName:"\"僵尸民兵\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"wooden_sword",tag:{display:{Name:"{\"text\":\"木剑\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.06f],ArmorItems:[{},{},{Count:1,id:"chainmail_chestplate",tag:{display:{Name:"{\"text\":\"链甲\",\"italic\":false,\"color\":\"white\"}"}}},{}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=45,SeGa_NumPartic=2..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier2_shield",Attributes:[{Name:generic.max_health,Base:10.0},{Name:generic.attack_damage,Base:1.5}],Health:10.0f,CustomName:"\"盾兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"shield",tag:{display:{Name:"{\"text\":\"盾\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}

execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=48}] run summon silverfish -79931 42.8 38 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_silverfish_tier1",Attributes:[{Name:generic.max_health,Base:3.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.15}],Health:3.5f,CustomName:"\"惰虫\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=50,SeGa_NumPartic=2..}] run summon silverfish -79931 42.8 38 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_silverfish_tier1",Attributes:[{Name:generic.max_health,Base:3.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.15}],Health:3.5f,CustomName:"\"惰虫\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=52,SeGa_NumPartic=3..}] run summon silverfish -79931 42.8 38 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_silverfish_tier1",Attributes:[{Name:generic.max_health,Base:3.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.15}],Health:3.5f,CustomName:"\"惰虫\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=5}] run summon silverfish -79931 42.8 38 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_silverfish_tier1",Attributes:[{Name:generic.max_health,Base:3.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.15}],Health:3.5f,CustomName:"\"惰虫\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=7,SeGa_NumPartic=2..}] run summon silverfish -79931 42.8 38 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_silverfish_tier1",Attributes:[{Name:generic.max_health,Base:3.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.15}],Health:3.5f,CustomName:"\"惰虫\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=44}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=50}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=55}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=59}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:5.0},{Name:generic.attack_damage,Base:2.0}],Health:5.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{Count:1,id:"leather_boots",tag:{display:{Name:"{\"text\":\"皮革靴\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_leggings",tag:{display:{Name:"{\"text\":\"皮革裤\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_chestplate",tag:{display:{Name:"{\"text\":\"皮革甲\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=64}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier2_shield",Attributes:[{Name:generic.max_health,Base:10.0},{Name:generic.attack_damage,Base:1.5}],Health:10.0f,CustomName:"\"盾兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"shield",tag:{display:{Name:"{\"text\":\"盾\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=69}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier2_shield",Attributes:[{Name:generic.max_health,Base:10.0},{Name:generic.attack_damage,Base:1.5}],Health:10.0f,CustomName:"\"盾兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"shield",tag:{display:{Name:"{\"text\":\"盾\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=70..74}] if entity @e[tag=AzrielMob,tag=!AzrielDecMob] run scoreboard players set @e[tag=sc,limit=1] SeGa_StandLast 70
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=73}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"Wave Clear","color":"green"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=74}] run scoreboard players set @a[tag=SeGa_StandLastA] SeGa_StandLastB 4
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=83}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"5","color":"yellow"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=84}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"4","color":"yellow"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=85}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"3","color":"red"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=86}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"2","color":"red"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=87}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"1","color":"red"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=88}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"Stage 3 - Wave 2","color":"red"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=90}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=91,SeGa_NumPartic=3..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=92}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=93,SeGa_NumPartic=3..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=94}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:5.0},{Name:generic.attack_damage,Base:2.0}],Health:5.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{Count:1,id:"leather_boots",tag:{display:{Name:"{\"text\":\"皮革靴\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_leggings",tag:{display:{Name:"{\"text\":\"皮革裤\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_chestplate",tag:{display:{Name:"{\"text\":\"皮革甲\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=98}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=99}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier2_shield",Attributes:[{Name:generic.max_health,Base:10.0},{Name:generic.attack_damage,Base:1.5}],Health:10.0f,CustomName:"\"盾兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"shield",tag:{display:{Name:"{\"text\":\"盾\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=103,SeGa_NumPartic=2..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier2_shield",Attributes:[{Name:generic.max_health,Base:10.0},{Name:generic.attack_damage,Base:1.5}],Health:10.0f,CustomName:"\"盾兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"shield",tag:{display:{Name:"{\"text\":\"盾\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=106,SeGa_NumPartic=3..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier2_shield",Attributes:[{Name:generic.max_health,Base:10.0},{Name:generic.attack_damage,Base:1.5}],Health:10.0f,CustomName:"\"盾兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"shield",tag:{display:{Name:"{\"text\":\"盾\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=109}] run summon zombie -79931 42 40 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:6.5},{Name:generic.attack_damage,Base:2.0}],Health:6.5f,CustomName:"\"工兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"stone_shovel",tag:{display:{Name:"{\"text\":\"工兵石铲\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{Count:1,id:"leather_boots",tag:{display:{Name:"{\"text\":\"皮革靴\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_leggings",tag:{display:{Name:"{\"text\":\"皮革裤\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_chestplate",tag:{display:{Name:"{\"text\":\"皮革甲\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=113}] run summon pillager -79931 42 40 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_pillager_tier1",Attributes:[{Name:generic.max_health,Base:3.0},{Name:generic.attack_damage,Base:0.5}],Health:2.0f,CustomName:"\"弩手\"",CanPickUpLoot:0,HandItems:[{Count:1,id:crossbow,tag:{Enchantments:[{id:quick_charge,lvl:1},{id:piercing,lvl:1}]}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=113}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=120,SeGa_NumPartic=3..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=123}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
function skyblock:tool_rng
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=124}] if score @e[tag=sc,limit=1] rng4 matches 1 run summon pillager -79931 42 40 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_pillager_tier1",Attributes:[{Name:generic.max_health,Base:3.0},{Name:generic.attack_damage,Base:0.5}],Health:2.0f,CustomName:"\"弩手\"",CanPickUpLoot:0,HandItems:[{Count:1,id:crossbow,tag:{Enchantments:[{id:quick_charge,lvl:2},{id:piercing,lvl:1}]}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=127}] if score @e[tag=sc,limit=1] rng4 matches 2 run summon silverfish -79931 42.8 38 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_silverfish_tier1",Attributes:[{Name:generic.max_health,Base:3.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.15}],Health:3.5f,CustomName:"\"惰虫\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=128,SeGa_NumPartic=3..}] if score @e[tag=sc,limit=1] rng4 matches 4 run summon silverfish -79931 42.8 38 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_silverfish_tier1",Attributes:[{Name:generic.max_health,Base:3.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.15}],Health:3.5f,CustomName:"\"惰虫\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=118}] run summon silverfish -79931 42.8 38 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_silverfish_tier1",Attributes:[{Name:generic.max_health,Base:3.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.15}],Health:3.5f,CustomName:"\"惰虫\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=128}] run summon silverfish -79931 42.8 38 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_silverfish_tier1",Attributes:[{Name:generic.max_health,Base:3.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.15}],Health:3.5f,CustomName:"\"惰虫\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=130}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier2_shield",Attributes:[{Name:generic.max_health,Base:10.0},{Name:generic.attack_damage,Base:1.5}],Health:10.0f,CustomName:"\"盾兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"shield",tag:{display:{Name:"{\"text\":\"盾\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=132}] run summon zombie -79931 42 40 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier2_shield",Attributes:[{Name:generic.max_health,Base:10.0},{Name:generic.attack_damage,Base:1.5}],Health:10.0f,CustomName:"\"盾兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"shield",tag:{display:{Name:"{\"text\":\"盾\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=138}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier2_shield",Attributes:[{Name:generic.max_health,Base:10.0},{Name:generic.attack_damage,Base:1.5}],Health:10.0f,CustomName:"\"盾兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"shield",tag:{display:{Name:"{\"text\":\"盾\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=143}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:6.5},{Name:generic.attack_damage,Base:2.0}],Health:6.5f,CustomName:"\"工兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"stone_shovel",tag:{display:{Name:"{\"text\":\"工兵石铲\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{Count:1,id:"leather_boots",tag:{display:{Name:"{\"text\":\"皮革靴\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_leggings",tag:{display:{Name:"{\"text\":\"皮革裤\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_chestplate",tag:{display:{Name:"{\"text\":\"皮革甲\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=143}] if score @e[tag=sc,limit=1] rng3 matches 1 run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier2_shield",Attributes:[{Name:generic.max_health,Base:10.0},{Name:generic.attack_damage,Base:1.5}],Health:10.0f,CustomName:"\"盾兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"shield",tag:{display:{Name:"{\"text\":\"盾\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=142}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:6.5},{Name:generic.attack_damage,Base:2.0}],Health:6.5f,CustomName:"\"工兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"stone_shovel",tag:{display:{Name:"{\"text\":\"工兵石铲\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{Count:1,id:"leather_boots",tag:{display:{Name:"{\"text\":\"皮革靴\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_leggings",tag:{display:{Name:"{\"text\":\"皮革裤\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_chestplate",tag:{display:{Name:"{\"text\":\"皮革甲\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=144}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:6.5},{Name:generic.attack_damage,Base:2.0}],Health:6.5f,CustomName:"\"工兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"stone_shovel",tag:{display:{Name:"{\"text\":\"工兵石铲\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{Count:1,id:"leather_boots",tag:{display:{Name:"{\"text\":\"皮革靴\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_leggings",tag:{display:{Name:"{\"text\":\"皮革裤\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_chestplate",tag:{display:{Name:"{\"text\":\"皮革甲\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=143,SeGa_NumPartic=3..}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:6.5},{Name:generic.attack_damage,Base:2.0}],Health:6.5f,CustomName:"\"工兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"stone_shovel",tag:{display:{Name:"{\"text\":\"工兵石铲\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{Count:1,id:"leather_boots",tag:{display:{Name:"{\"text\":\"皮革靴\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_leggings",tag:{display:{Name:"{\"text\":\"皮革裤\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_chestplate",tag:{display:{Name:"{\"text\":\"皮革甲\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=149..151}] run playsound minecraft:ambient.soul_sand_valley.mood master @a -79926 38 34 1000 1.3
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=149..151}] run playsound minecraft:ambient.soul_sand_valley.loop master @a -79926 38 34 1000 1.3
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=149..151}] run playsound minecraft:ambient.soul_sand_valley.mood master @a -79926 38 34 1000 1
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=149..151}] run playsound minecraft:ambient.soul_sand_valley.additions master @a -79926 38 34 1000 1
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=149..151}] run playsound minecraft:ambient.soul_sand_valley.mood master @a -79926 38 34 1000 1
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=145..148}] if entity @e[tag=AzrielMob,tag=!AzrielDecMob] run scoreboard players set @e[tag=sc,limit=1] SeGa_StandLast 145
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=160}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"Wave Clear","color":"green"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=160}] run scoreboard players set @a[tag=SeGa_StandLastA] SeGa_StandLastB 5
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=165}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"7","color":"yellow"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=166}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"6","color":"yellow"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=167}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"5","color":"yellow"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=168}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"4","color":"yellow"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=169}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"3","color":"red"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=170}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"2","color":"red"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=171}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"1","color":"red"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=172}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"Stage 3 - Wave 3","color":"red"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=173}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier2_shield",Attributes:[{Name:generic.max_health,Base:10.0},{Name:generic.attack_damage,Base:1.5}],Health:10.0f,CustomName:"\"盾兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"shield",tag:{display:{Name:"{\"text\":\"盾\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{},{},{},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=1808}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:6.5},{Name:generic.attack_damage,Base:2.0}],Health:6.5f,CustomName:"\"工兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"stone_shovel",tag:{display:{Name:"{\"text\":\"工兵石铲\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{Count:1,id:"leather_boots",tag:{display:{Name:"{\"text\":\"皮革靴\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_leggings",tag:{display:{Name:"{\"text\":\"皮革裤\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_chestplate",tag:{display:{Name:"{\"text\":\"皮革甲\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=174}] run summon zombie -79931 42 40 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=179}] run summon zombie -79931 42 40 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=184}] run summon silverfish -79931 42.8 38 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_silverfish_tier1",Attributes:[{Name:generic.max_health,Base:3.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.15}],Health:3.5f,CustomName:"\"惰虫\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=187}] run summon silverfish -79931 42.8 38 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_silverfish_tier1",Attributes:[{Name:generic.max_health,Base:3.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.15}],Health:3.5f,CustomName:"\"惰虫\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=189}] run summon silverfish -79931 42.8 38 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_silverfish_tier1",Attributes:[{Name:generic.max_health,Base:3.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.15}],Health:3.5f,CustomName:"\"惰虫\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=191}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=192}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=195}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=204}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_tier1",Attributes:[{Name:generic.max_health,Base:4.0},{Name:generic.attack_damage,Base:1.5}],Health:4.0f,CustomName:"\"僵尸\"",CanPickUpLoot:0,IsBaby:0,ArmorItems:[{},{},{},{}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=203}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:5.0},{Name:generic.attack_damage,Base:1.5},{Name:generic.movement_speed,Base:0.19}],Health:5.0f,CustomName:"\"僵尸民兵\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"wooden_sword",tag:{display:{Name:"{\"text\":\"木剑\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.06f],ArmorItems:[{},{},{Count:1,id:"chainmail_chestplate",tag:{display:{Name:"{\"text\":\"链甲\",\"italic\":false,\"color\":\"white\"}"}}},{}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=200}] run playsound minecraft:entity.spider.ambient master @a -79926.0 38 34 0.2 0.5
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=205}] run summon zombie -79931 38 25 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:5.0},{Name:generic.attack_damage,Base:1.5},{Name:generic.movement_speed,Base:0.19}],Health:5.0f,CustomName:"\"僵尸民兵\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"wooden_sword",tag:{display:{Name:"{\"text\":\"木剑\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.06f],ArmorItems:[{},{},{Count:1,id:"chainmail_chestplate",tag:{display:{Name:"{\"text\":\"链甲\",\"italic\":false,\"color\":\"white\"}"}}},{}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=206}] run playsound minecraft:entity.spider.ambient master @a -79926.0 38 34 0.5 0.7
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=210}] run summon zombie -79931 42 40 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:6.5},{Name:generic.attack_damage,Base:2.0}],Health:6.5f,CustomName:"\"工兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"stone_shovel",tag:{display:{Name:"{\"text\":\"工兵石铲\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{Count:1,id:"leather_boots",tag:{display:{Name:"{\"text\":\"皮革靴\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_leggings",tag:{display:{Name:"{\"text\":\"皮革裤\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_chestplate",tag:{display:{Name:"{\"text\":\"皮革甲\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=213,SeGa_NumPartic=3..}] run summon zombie -79931 42 40 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:6.5},{Name:generic.attack_damage,Base:2.0}],Health:6.5f,CustomName:"\"工兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"stone_shovel",tag:{display:{Name:"{\"text\":\"工兵石铲\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{Count:1,id:"leather_boots",tag:{display:{Name:"{\"text\":\"皮革靴\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_leggings",tag:{display:{Name:"{\"text\":\"皮革裤\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_chestplate",tag:{display:{Name:"{\"text\":\"皮革甲\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=216,SeGa_NumPartic=4..}] run summon zombie -79931 42 40 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_zombie_militia_tier1",Attributes:[{Name:generic.max_health,Base:6.5},{Name:generic.attack_damage,Base:2.0}],Health:6.5f,CustomName:"\"工兵僵尸\"",CanPickUpLoot:0,IsBaby:0,HandItems:[{Count:1,id:"stone_shovel",tag:{display:{Name:"{\"text\":\"工兵石铲\",\"italic\":false,\"color\":\"white\"}"}}}],HandDropChances:[0.003f],ArmorItems:[{Count:1,id:"leather_boots",tag:{display:{Name:"{\"text\":\"皮革靴\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_leggings",tag:{display:{Name:"{\"text\":\"皮革裤\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_chestplate",tag:{display:{Name:"{\"text\":\"皮革甲\",\"italic\":false,\"color\":\"white\"}"}}},{Count:1,id:"leather_helmet",tag:{display:{Name:"{\"text\":\"皮革帽\",\"italic\":false,\"color\":\"white\"}"}}}],ArmorDropChances:[0.02f,0.02f,0.02f,0.02f]}

execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=223}] run kill @e[x=-79900,y=130,z=0,distance=0..1000,type=item,nbt={Item:{id:"minecraft:white_concrete"}}]
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=223}] run playsound minecraft:entity.spider.ambient master @a -79926.0 38 34 1 0.7
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=223}] run playsound minecraft:block.basalt.break master @a -79926.0 38 34 10 0.1
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=223}] run fill -79928 38 34 -79928 39 35 air destroy
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=223}] run setblock -79928 40 34 air destroy
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=223}] run setblock -79928 38 33 air destroy

execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=222}] run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:4.5},{Name:generic.attack_damage,Base:1.5},{Name:generic.movement_speed,Base:0.24}],Health:4.5f,CustomName:"\"遗迹蜘蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=222,SeGa_NumPartic=3..}] run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:4.5},{Name:generic.attack_damage,Base:1.5},{Name:generic.movement_speed,Base:0.24}],Health:4.5f,CustomName:"\"遗迹蜘蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=222}] run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:4.5},{Name:generic.attack_damage,Base:1.5},{Name:generic.movement_speed,Base:0.24}],Health:4.5f,CustomName:"\"遗迹蜘蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=222}] run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:8.0},{Name:generic.attack_damage,Base:2.0},{Name:generic.knockback_resistance,Base:0.5},{Name:generic.movement_speed,Base:0.18}],Health:8.0f,CustomName:"\"禁尘蜘蛛\"",ActiveEffects:[{Id:11,Amplifier:0,Duration:10000,Ambient:0},{Id:10,Amplifier:0,Duration:10000,Ambient:0}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=222,SeGa_NumPartic=4..}] run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:8.0},{Name:generic.attack_damage,Base:2.0},{Name:generic.knockback_resistance,Base:0.5},{Name:generic.movement_speed,Base:0.18}],Health:8.0f,CustomName:"\"禁尘蜘蛛\"",ActiveEffects:[{Id:11,Amplifier:0,Duration:10000,Ambient:0},{Id:10,Amplifier:0,Duration:10000,Ambient:0}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=222}] run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:2.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.4}],Health:2.5f,CustomName:"\"迅蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=222}] run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:2.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.4}],Health:2.5f,CustomName:"\"迅蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=226}] run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:4.5},{Name:generic.attack_damage,Base:1.5},{Name:generic.movement_speed,Base:0.24}],Health:4.5f,CustomName:"\"遗迹蜘蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=228}] run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:2.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.4}],Health:2.5f,CustomName:"\"迅蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=232}] run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:4.5},{Name:generic.attack_damage,Base:1.5},{Name:generic.movement_speed,Base:0.24}],Health:4.5f,CustomName:"\"遗迹蜘蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=234}] run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:2.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.4}],Health:2.5f,CustomName:"\"迅蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=238}] if score @e[tag=sc,limit=1] rng4 matches 1 run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:8.0},{Name:generic.attack_damage,Base:2.0},{Name:generic.knockback_resistance,Base:0.5},{Name:generic.movement_speed,Base:0.18}],Health:8.0f,CustomName:"\"禁尘蜘蛛\"",ActiveEffects:[{Id:11,Amplifier:0,Duration:10000,Ambient:0},{Id:10,Amplifier:0,Duration:10000,Ambient:0}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=238}] if score @e[tag=sc,limit=1] rng4 matches 2 run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:4.5},{Name:generic.attack_damage,Base:1.5},{Name:generic.movement_speed,Base:0.24}],Health:4.5f,CustomName:"\"遗迹蜘蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=238}] if score @e[tag=sc,limit=1] rng4 matches 3 run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:2.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.4}],Health:2.5f,CustomName:"\"迅蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=238}] if score @e[tag=sc,limit=1] rng4 matches 4 run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:2.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.4}],Health:2.5f,CustomName:"\"迅蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=240,SeGa_NumPartic=2..}] if score @e[tag=sc,limit=1] rng4 matches 1 run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:8.0},{Name:generic.attack_damage,Base:2.0},{Name:generic.knockback_resistance,Base:0.5},{Name:generic.movement_speed,Base:0.18}],Health:8.0f,CustomName:"\"禁尘蜘蛛\"",ActiveEffects:[{Id:11,Amplifier:0,Duration:10000,Ambient:0},{Id:10,Amplifier:0,Duration:10000,Ambient:0}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=240,SeGa_NumPartic=2..}] if score @e[tag=sc,limit=1] rng4 matches 2 run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:4.5},{Name:generic.attack_damage,Base:1.5},{Name:generic.movement_speed,Base:0.24}],Health:4.5f,CustomName:"\"遗迹蜘蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=240,SeGa_NumPartic=2..}] if score @e[tag=sc,limit=1] rng4 matches 3 run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:2.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.4}],Health:2.5f,CustomName:"\"迅蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=240,SeGa_NumPartic=2..}] if score @e[tag=sc,limit=1] rng4 matches 4 run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:2.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.4}],Health:2.5f,CustomName:"\"迅蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=243}] if score @e[tag=sc,limit=1] rng4 matches 1 run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:8.0},{Name:generic.attack_damage,Base:2.0},{Name:generic.knockback_resistance,Base:0.5},{Name:generic.movement_speed,Base:0.18}],Health:8.0f,CustomName:"\"禁尘蜘蛛\"",ActiveEffects:[{Id:11,Amplifier:0,Duration:10000,Ambient:0},{Id:10,Amplifier:0,Duration:10000,Ambient:0}]}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=243}] if score @e[tag=sc,limit=1] rng4 matches 2 run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:4.5},{Name:generic.attack_damage,Base:1.5},{Name:generic.movement_speed,Base:0.24}],Health:4.5f,CustomName:"\"遗迹蜘蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=243}] if score @e[tag=sc,limit=1] rng4 matches 3 run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:2.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.4}],Health:2.5f,CustomName:"\"迅蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=243}] if score @e[tag=sc,limit=1] rng4 matches 4 run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:2.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.4}],Health:2.5f,CustomName:"\"迅蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=246}] run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:2.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.4}],Health:2.5f,CustomName:"\"迅蛛\""}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=246}] run summon spider -79926.0 38 34 {PersistenceRequired:1,Tags:["AzrielMob"],DeathLootTable:"skyblock:azriel_spider_tier1",Attributes:[{Name:generic.max_health,Base:2.5},{Name:generic.attack_damage,Base:1.0},{Name:generic.movement_speed,Base:0.4}],Health:2.5f,CustomName:"\"迅蛛\""}

execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=248..251}] if entity @e[tag=AzrielMob,tag=!AzrielDecMob] run scoreboard players set @e[tag=sc,limit=1] SeGa_StandLast 248
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run playsound ambient.crimson_forest.loop ambient @a[tag=SeGa_StandLastA] -78000 100 0 1000
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run playsound ambient.crimson_forest.mood ambient @a[tag=SeGa_StandLastA] -78000 100 0 1000
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run playsound ambient.crimson_forest.additions ambient @a[tag=SeGa_StandLastA] -78000 100 0 1000
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run fill -79931 38 40 -79931 40 40 air destroy
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run fill -79935 43 34 -79935 45 34 air destroy
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run scoreboard players set @a[tag=SeGa_StandLastA] SeGa_StandLastB 6
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run scoreboard players set @e[tag=sc,limit=1] SeGa_StandLastP 7
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run advancement grant @a[tag=SeGa_StandLastA] only skyblock:azr_stage3
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run tellraw @a[scores={Azr_PlyPtsH=..2}] {"text":"永久升级 - 初始绿宝石数量 +5","color":"light_purple"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run scoreboard players set @a[tag=SeGa_StandLastA,scores={Azr_PlyPtsH=..2}] Azr_PlyPtsH 3
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run title @a[tag=SeGa_StandLastA] actionbar {"text":"Stage Clear","color":"green"}
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run setblock -79931 43 42 air
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run setblock -79930 43 41 air
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run setblock -79932 43 41 air
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run setblock -79931 42 42 air
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run setblock -79930 42 41 air
execute if entity @e[tag=sc,limit=1,scores={SeGa_StandLast=251}] run setblock -79932 42 41 air